import type { AppRouteModule } from '@/router/types';

import Layout from '@/views/myui/layout/index.vue';
// import { t } from '@/hooks/web/useI18n';

const myui: AppRouteModule = {
  path: '/myui',
  name: 'Myui',
  component: Layout,
  redirect: '/myui/userinfo',
  meta: {
    icon: 'simple-icons:aboutdotme',
    title: '我的UI',
    orderNo: 1,
  },
  children: [
    {
      path: 'userinfo',
      name: 'Userinfo',
      component: () => import('@/views/myui/userInfo.vue'),
      meta: {
        title: '用户信息',
        icon: 'simple-icons:aboutdotme',
        // hideMenu: true,
      },
    },
    {
      path: 'hospitals',
      name: 'Hospitals',
      component: () => import('@/views/myui/userInfo.vue'),
      meta: {
        title: '医院列表',
        icon: 'simple-icons:aboutdotme',
        // hideMenu: true,
      },
    },
  ],
};

export default myui;
